package o;

import com.huawei.appgallery.serverreqkit.api.bean.ResponseBean;
import com.huawei.appgallery.serverreqkit.api.listener.IServerCallBack;
import com.huawei.appmarket.service.installdepend.bean.GetDetailByIdResBean;
import com.huawei.appmarket.service.installdepend.bean.GetDetailByIdResBean$DetailInfoBean;
import java.util.List;

public class ejx implements cwu {

    static class a implements IServerCallBack {
        private cwx ˏ;

        public a(cwx o_cwx) {
            this.ˏ = o_cwx;
        }

        public void prePostResult(BaseRequest o_cvu, ResponseBean responseBean) {
        }

        public void notifyResult(BaseRequest o_cvu, ResponseBean responseBean) {
            GetDetailByIdResBean getDetailByIdResBean = (GetDetailByIdResBean) responseBean;
            if (getDetailByIdResBean.getResponseCode() == 0) {
                List ˏ = getDetailByIdResBean.ˏ();
                if (!CollectCheck.isEmpty(ˏ)) {
                    GetDetailByIdResBean$DetailInfoBean getDetailByIdResBean$DetailInfoBean = (GetDetailByIdResBean$DetailInfoBean) ˏ.get(0);
                    if (getDetailByIdResBean$DetailInfoBean != null) {
                        cwy o_cwy = new cwy();
                        o_cwy.ͺ(getDetailByIdResBean$DetailInfoBean.ॱˊ());
                        o_cwy.ˎ(getDetailByIdResBean$DetailInfoBean.ʻ());
                        o_cwy.ᐝ(getDetailByIdResBean$DetailInfoBean.ॱॱ());
                        o_cwy.ˏॱ(getDetailByIdResBean$DetailInfoBean.ˋॱ());
                        o_cwy.ʽ(getDetailByIdResBean$DetailInfoBean.ᐝ());
                        o_cwy.ʼ(getDetailByIdResBean$DetailInfoBean.ʽ());
                        o_cwy.ॱॱ(getDetailByIdResBean$DetailInfoBean.ͺ());
                        o_cwy.ʻ(getDetailByIdResBean$DetailInfoBean.ˊॱ());
                        o_cwy.ˋॱ(getDetailByIdResBean$DetailInfoBean.ˏॱ());
                        o_cwy.ˊॱ(getDetailByIdResBean$DetailInfoBean.ॱˋ());
                        o_cwy.ॱˊ(getDetailByIdResBean$DetailInfoBean.ॱˎ());
                        o_cwy.ˋ(getDetailByIdResBean$DetailInfoBean.ˏ());
                        o_cwy.ˎ(getDetailByIdResBean$DetailInfoBean.ʼ());
                        o_cwy.ˏ(getDetailByIdResBean$DetailInfoBean.ॱ());
                        o_cwy.ॱ(getDetailByIdResBean$DetailInfoBean.ˊ());
                        o_cwy.ˊ(getDetailByIdResBean$DetailInfoBean.ˋ());
                        o_cwy.ˏ(getDetailByIdResBean$DetailInfoBean.ˎ());
                        o_cwy.ॱ(getDetailByIdResBean$DetailInfoBean.ᐝॱ());
                        o_cwy.ˊ(getDetailByIdResBean$DetailInfoBean.ॱᐝ());
                        o_cwy.ˋ(getDetailByIdResBean$DetailInfoBean.ʻॱ());
                        this.ˏ.ˊ(o_cwy);
                        return;
                    }
                }
            }
            this.ˏ.ˊ(null);
        }
    }

    public void ˊ(String str, cwx o_cwx) {
        cfw.ˎ(new eaj(str), new a(o_cwx));
    }
}
